Write a program on C to print your name, your school name
Answers
Answered by
14
/*Program to print your School name*/
# include <stdio.h>
# include <conio.h>
void main ( )
{
Print f (" My School name is Lucknow Public College");
getch ( );
}
Hope It's help you.
Please mark as brainlest..!❣️❣️
Answered by
2
Answer:
#include <stdio.h>
int main()
{
printf("My name is Regina Phalange.");
printf("\nMy school name is Riverdale High.");
return 0;
}
Explanation:
- Since the program is to print your name and school name, there is no need to declare any variables.
- We start with defining the standard input-output library.
- In the main function, we first write the printf statement to display the name.
- In the next statement, we write another printf statement to display the school name.
- In the second printf statement, we use the newline character "\n" to print the school name on the next line.
#SPJ3
Similar questions