Computer Science, asked by Namita11, 1 year ago

I need to know that how we make a computer programme please help me in it


Anonymous: tell me namitha

Answers

Answered by dainvincible1
1
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
Answered by AnviGottlieb
1
HEYA!
here's your answer!
_________________
___

Computer programming can be absolutely easy of you put your mind in it. But understanding logics of programs is the most difficult aspects that I can guess .

there are hundreds of types of Languages in Which programs are written , like
↪ Java
↪ Phython
↪ C++
↪ C
↪ B
↪ COBOL
↪ Forton
↪ BASIC
↪ Visual Basic

let me give you an example of a simple Java program. - which I have learned . This is ye most basic of Java programs.

Program:-

class display
{
public static void main (String ar[])
{
String a= 'Namita';
String b= 'VictorianSwan';
System.out.println("Name="+ a);
System.out.println("Brainly username="+ b);
}
}


Output of this program will be:-
Name= Namita
Brainly username= VictorianSwan

You can search for hundreds of programs-learning apps on the play store for easy learning .

______________
___

Hope this helps you!

Namita11: hehe nice one xd
Similar questions