Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions add.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <stdio.h>

void main()
int main() {
int num1, num2, sum;

Expand All @@ -13,5 +13,5 @@ int main() {

printf("The sum of %d and %d is %d.", num1, num2, sum);

return 0;
return 0; ::::
}
16 changes: 16 additions & 0 deletions mul.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <stdio.h>
int main() {
double a, b, product;
printf("Enter two numbers: ");
scanf("%lf %lf", &a, &b);

// Calculating product }}
product = a * b;

// %.2lf displays number up to 2 decimal point
printf("Product = %.2lf", product);

return 0;
}
}
}}
4 changes: 4 additions & 0 deletions name.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
name = "Your Name"
print("My name is", name)
Print ("Hello World)
print ("problrmmm")

fdhfgjhjjkkhlhl