Computer Science, asked by debangsu2007, 3 months ago

Input two numbers and print the square value

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

print("num_1 square", (n := int(input("num_1: "))) ** 2)

print("num_2 square", (n := int(input("num_2: "))) ** 2)

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by shripoorna82
3

Answer:

/* C Program to Calculate Square of a Number using Function */

#include <stdio.h>

int Calculate _ Square ( int Number );

int main()

{

int number, Square ;

printf ( "\n Please Enter any integer Value: ");

scanf ( "%d ", & number );

Square = Calcute_Square ( number );

printf(" \n Square of a given number %d =%d ",number, Square );

return 0;

}

int Calculate_Square ( int Number )

{

return Number * Number;

}

Similar questions