PropellerAds

How to show number from 1 to 100 and it's reverse in c language

No comments :

How to show number from 1 to 100 in c language

Q. write a program in c language to display numbers form 1 to 100

A. To solve that question we will use while loops .

if you  didn't know how to use WHILE loops -  click here

CODE-





OUTPUT

PLEASE note that
  • if you are doing that code in turbo c++ software then please do not use ("\n ") to show output.
  • if you use ("\n " )then output of 1 to 100 number will come but can only see form 76 to 100.
NOW  WE WILL DO CODING TO SHOW NUMBER FROM 100 TO 1 (REVERSE)
Q. Write a program in c language  to show number from 100 to 1 .
A.
code-

OUTPUT-


IF you have any query please comment below OR mail me for quick support- mail me


No comments :

Post a Comment