Computer Science, asked by Shahan2007, 2 months ago

A program to print your name and your schools name on two separate lines​

Answers

Answered by shubhashrees73
0

Answer ❤️

The first line of the main function creates an object of Scanner class which takes the input for the school name. Then the loop will execute 4 times and print the school name for every iteration of the loop in different lines. The line change can be done with the help of print() function.

hope help you

brainlist please ❤️ uff...

Answered by mahesijjh
0

//In c language, I wrote this program.

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();

printf("NAME->Mahi");

printf("\n_______________________________\n");

printf("SCHOOL NAME->ABC school");

printf("\n_______________________________\n");

getch();

}

Attachments:
Similar questions