Computer Science, asked by aryankumar097, 7 hours ago

Write a program using switch case to :

1 . find and display the diagonal of a square

taking side of square as an input.

2.Find and display the final velocity of vehicle

using the formula:

v² = u² + 2as

take initial velocity(u) , acceleration(a) and

distance covered(S) as an input.

3. take three unequal numbers as an input and

display the second smallest number.

4. find and display the sum of the given series.

S = 1+(1*2)+(1*2*3)+………………+(1*2*3*4*…….*n). 5. take a number as an input and check whether the

number is palindrome or not .Display the message

accordingly.

(A number is said to be palindrome if the new

number obtain after reversing the digits is same as

the original number)

Example: sample input: 707

Sample output: 707

So 707 is not a palindrome number​

Answers

Answered by BrainlyGovind
6

yes \: it \: is \: correct \:  \\ hope \: it \: helps \: u

Similar questions