bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

P003.c (470B)


      1 /*
      2  * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025
      3  * Repo: https://github.com/notamitgamer/bsc
      4  * License: MIT
      5  */
      6 
      7 //WAP to perform addtion and multiplication of two integer numbers
      8 
      9 #include<stdio.h>
     10 int main() {
     11 	int a, b, sum, multi;
     12 	printf("Enter the 1st number : ");
     13 	scanf("%d",&a);
     14 	printf("Enter the 2nd number : ");
     15 	scanf("%d",&b);
     16 	sum = a + b;
     17 	multi = a * b;
     18 	printf("\nSum = %d"
     19 		   "\nMultiplication = %d",sum,multi);
     20 	return 0;
     21 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror