answersLogoWhite

0


Best Answer

C Exercises: Print all numbers between 1 to 100

#include

int main() {

int i=1;

//i is less than or equal to 100

while( i

User Avatar

Learn bay

Lvl 8
โˆ™ 2022-03-02 08:14:32
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards
3.76
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
21 Reviews
More answers
User Avatar

Wiki User

โˆ™ 2009-03-02 16:34:56

Write a c program to print the 100 to 1 nos

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program to print the 100 to 1 nos?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print nos from 10-0 then only even nos are printed in a program flowchart?

10


How do you write a java program multiplying three numbers?

simply enter three nos. lyk a b and c and use the code a*b*c and print the result!!


C program to print nos divisible by 8?

#include #include#define N 100 /* change the upper limit by changing value of N */int main(){int i;clrscr();printf("\nPROGRAM TO PRINT NUMBERS DIVISIBLE BY 8 between 1 and 100\n");for(i=1;i


How do you write a program to print prime numbers from 1 to 1000 using C plus plus?

#include#include#includevoid main(){int i,j;clrscr();for(i=3;i


How do you write see you there in Spanish?

nos vemos


How do you write 10 million in nos?

10,000,000


C program to find the sum of first 100 odd nos and even nos?

main() { int i,sumo=0,sume=0,oddno,evenno; for(i=1,oddno=1,evenno=2;i<=100;++i,oddno=oddno+2,evenno=evenno+2) { sumo=sumo + oddno; sume=sume + evenno; } printf("Sum of odd nos = %d And Sum of even nos = %d,sumo,sume); }


Using while loop write a program which calculates the product of digits from 1 to 5 and also show these nos vertically?

Using while loop, write a program which calculates the product of digits from 1 to 5 and also show these no's vertically.


What does escreva nos mean in Portuguese?

Write (to) us


Write a program in c plus plus print non Fibonacci numbers?

#include<constream.h> void main() { int a,b,i=1; cout<<"Enter a no till when u want print non fibonaci numbers\t:" cin>>c; cout<<"\n Non fibonaci nos \n:" for(a=0,b=1;i<=c;i++) { if(i==(a=a+b)) continue; if(i==(b=a+b)) continue; cout<<i \t; } }


Are all the factors of 100 even?

No most are odd nos.


What are even nos between 100 to 300 that is the sum of two prime nos?

Each one of them can be expressed as a sum of two primes.

People also asked