e error in 100 words. Decriotion is need

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 4RQ
icon
Related questions
Question

Write error in 100 words. Decriotion is needed. And complete. 

 

Rewrite the code given below and correct all errors, the code should print natural numbers
from 1-100 after correcting the errors.
#include <stdio.h>
int main()
{
}
for(i = 0; i>=100; i++){
print("%d", i)
}
return 0;
Transcribed Image Text:Rewrite the code given below and correct all errors, the code should print natural numbers from 1-100 after correcting the errors. #include <stdio.h> int main() { } for(i = 0; i>=100; i++){ print("%d", i) } return 0;
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT