Computer Science, asked by usamafareed53, 2 months ago

program in c++?program in C plus plus ​

Answers

Answered by Anonymous
2

C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes".

Answered by sohans0722
0

Answer:

A C program looks like this

Explanation:

#include<stdio.h>

(any more header file if required)

void main()

{

                 (body of the program)

}

Thats it

Extra tips:

you can use #include<conio.h> header file for using clrscr()[clears the output screen every execution] and getch()[goes to output screen directly after the program is executed]

and you can also use #include<dos.h> for using the sleep() function which makes the program wait for the number of seconds given in the parenthesis given in the sleep function.

Syntax

sleep(2); <------Makes the program wait 2 seconds before going to next step

Similar questions