We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f4994 commit 4e7baa9Copy full SHA for 4e7baa9
a.out
0 Bytes
solve_problem.c
@@ -97,23 +97,23 @@
97
98
// 👉👉 🔹 Q-4: একটি ফাংশন লিখো যা একটি পূর্ণসংখ্যা ইনপুট নিয়ে তার স্কয়ার রিটার্ন করবে।
99
100
+
101
102
#include <stdio.h>
-int square_f(int n);
103
+ int square (int n);
104
int main(){
105
+ int num = 40;
106
+ int result = square(num);
107
+ printf("Square Reult is : %d\n ", result);
108
- int n = 5;
- int result = square_f(n);
- printf("Suare number is : %d\n", result) ;
- return 0 ;
109
+ return 0;
110
}
111
-int square_f(int n ){
- return n* n;
112
+int square(int n ) {
113
+ return n*n ;
114
115
116
-
117
// #include <stdio.h>
118
// int main(){
119
0 commit comments