C Function
C Function
C Function
2. Write a program in C to find the square of any number using the function. Go
to the editor
Test Data :
Input any number for square : 20
Expected Output :
The square of 20 is : 400.00
Click me to see the solution
10. Write a program in C to print all perfect numbers in given range using the
function. Go to the editor
Test Data :
Input lowest search limit of perfect numbers : 1
Input lowest search limit of perfect numbers : 100
Expected Output :
The perfect numbers between 1 to 100 are :
6 28
11. Write a program in C to check whether two given strings are an anagram. Go
to the editor
Test Data :
Input the first String : spare
Input the second String : pears
Expected Output :
spare and pears are Anagram.
Click me to see the solution