Wright A Program Display Hello World On Screen ?
1) Wright A Program Display Welcom To C Programing On Screen ?
/*Display Message*/
# include<stdio.h>
int main ()
{
printf("Welcom
To C Programing ");
printf("Hello World");
return
0;
Output :- Welcom To C ProgramingHello World
2) Wright A Program Display Indian 5 City, Mumbai, Delhi, Chennai, Kolkata, Bengaluru, On Screen.
/*Display Message
In Indian 5 City */
#include<stdio.h>
int main ()
{
printf("Indian
5 City ");
printf("\nMumbai
");
printf("\nDelhi
");
printf("\nChennai
");
printf("\nKolkata");
printf("\nBengaluru
");
return
0;
}
Output :- Indian 5 City
Mumbai
Delhi
Chennai
Kolkata
Bengaluru
Comments
Post a Comment