Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

closed caluclate 2*3

+11 votes
asked Jul 28, 2022 by Amrith raz (230 points)
closed Sep 8, 2022 by Admin
closed with the note: answered

7 Answers

+1 vote
answered Jul 29, 2022 by NirjalLOL (540 points)
reshown Jul 29, 2022 by NirjalLOL

IF you want it to be 2*3

FirstNumber = 2
SecondNumber = 3

product = FirstNumber * SecondNumber
print(product)
+5 votes
answered Jul 29, 2022 by NirjalLOL (540 points)
reshown Jul 29, 2022 by NirjalLOL

If you want it to be of any number

FirstNumber = int(input("FirstNumber :"))
SecondNumber = int(input("SecondNumber :"))

product = FirstNumber * SecondNumber
print(product)
0 votes
answered Aug 24, 2022 by Supriya Patil (140 points)
#include<stdio.h>

int main()

{ int a=3,b=2,mul;

mul=a*b;

printf("mul=%d",mul);

retun 0;

}
0 votes
answered Aug 26, 2022 by Sahil Tayde (140 points)
#include<stdio.h>

int main()

{

      int n1,n2,mul;

         n1 = 2;

         n2 = 3;

       mul = n1*n2;

     printf("2 x 3 : %d",mul);

    return 0;

}
0 votes
answered Aug 30, 2022 by Batch 2 (0 points)
reshown Sep 6, 2022 by Batch 2
well you dumb noob the answer is quite claerly 5 since 2 and 3 are numbers and when u take two numbers together they make a baby and in this case teh baby is 5 hopeu understand rate 5 stars and sub to my onlyfans

yours gracefully,

shubham burger
0 votes
answered Sep 2, 2022 by Hasrat Jamal (140 points)
In C++ program

#include<iostream>

using namespace std;

int main(){

int num1 = 2 , num2 = 3;

cout<<num1*num2;

return 0;

}
0 votes
answered Sep 6, 2022 by Madavi Dathuram (140 points)
#include<stdio.h>

int main()

{

int a=2;b=3;

printf("enter a number");

scanf("%d\n",& a*b);

}

return 0;

}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...