I need to know that how we make a computer programme please help me in it
Answers
Answered by
0
Computer Programming is not that easy . It takes a lot of time and concentration to understand.Some os the programing languages are c ++,java,etc.
Below is a sample of c language,
#include<stdio.h>
void main()
{
int a;
clrscr();
printf("given number:");
scanf("%d",&a);
if(a%2==0)
printf("%d is even number");
else
printf('%d is odd number");
getch();
}
∴output for the above program is 4
Below is a sample of c language,
#include<stdio.h>
void main()
{
int a;
clrscr();
printf("given number:");
scanf("%d",&a);
if(a%2==0)
printf("%d is even number");
else
printf('%d is odd number");
getch();
}
∴output for the above program is 4
Similar questions