Social Sciences, asked by Sukhmandeep25301, 10 months ago

Write comments in above c program.

Answers

Answered by gauravarduino
0

Explanation:

sorry there is no any above c program

Answered by Soñador
1

Answer:

There is no program in the question. So, here is an example of c program with comments.

Comments are placed by using 2 slash (//).

Example :

#include<iostream.h>

#include<conio.h>

voud main()

{

clrscr();

int a, b,sum;

//input for first number

cout<<"\nEnter first number";

cin>>a;

//input for second number

cout<<"\nEnter second number";

cin>>b;

//process

sum=a+b;

//output

cout<<"\nSum of digits is "<<sum;

getch();

}

Similar questions