πŸ”₯ Welcome to my blog! Latest updates available now. Visit daily! πŸ”₯ πŸ”₯ Click Here for Latest Updates – Visit My Blog πŸ”₯
πŸ”₯ Latest Updates πŸ“Š GP Grade Finder πŸ“’ Government Services Info πŸ†• New Schemes Updates

2.Addition of two numbers in C,Java,&Python

 

SecPro.java


 java.util.*;


public class Main {

    public static void main(String[] args) {

     int a=10;

     int b=20;

     int c=a + b;

     System.out.print(c);

  }

}


Output


30


SecPro.py


a=10;

b=20;

print(a+b)


Output

30


SecPro.c


#include <stdio.h>

int main()

{

  int a=10,b=20,c;

  c=a+b;

  printf("addition of two numbers is%d",c);

}


Output:

addition of two numbers is:30

No comments:

Post a Comment

Thank you Very Much.For Given Comment

Quatation of the Day 22-03-2026