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 38f1a0d commit c4f4994Copy full SHA for c4f4994
a.out
-72 Bytes
solve_problem.c
@@ -98,21 +98,18 @@
98
// 👉👉 🔹 Q-4: একটি ফাংশন লিখো যা একটি পূর্ণসংখ্যা ইনপুট নিয়ে তার স্কয়ার রিটার্ন করবে।
99
100
#include <stdio.h>
101
-
102
-int square_f(int n ) ;
103
+int square_f(int n);
104
int main(){
105
- int n = 5;
106
- int result = square_f(n) ;
107
- printf("square number is : %d", n);
108
109
- return 0 ;
110
-}
111
112
-int square_f(int n){
113
- return n * n ;
+ int n = 5;
+ int result = square_f(n);
+ printf("Suare number is : %d\n", result) ;
+ return 0 ;
114
}
115
+int square_f(int n ){
+ return n* n;
+}
116
117
118
0 commit comments