Computer Science, asked by wwwgauravphulwani123, 8 months ago

Write a program using parameterized function with return type to find the

area of a circle whose radius is 5 unit.

Java program

Plaese help me
I will mark him as brainlist​

Answers

Answered by subhamchoudharyccs
0

Answer:

A special two digit number is such that when the sum of its digits is added to the product of its digits, the result is equal to the original two-digit number,

Example : Consider the number 59

 Sum of digit = 5+9=14

 Product of digit=5*9=45

 Total of the sum of digit and product of digits= 14+45=59

Write a program to accept a two-digit number. Add the sum of its digits to the product of its digits. If the value is equal to the number input, output the message “ Special two-digit number”, otherwise, output the message “Not a special two-digit number.

Explanation:

how much try tht much only

Answered by moumitaashim3006
0

Explanation:

The following Java program to print the area of a circle has been written in five simple different ways, static method, using constructor, Interface, inheritance with sample outputs for each program.

Table of contents: 5 Simple ways to print AOC

Using Static Method

Using Interface

Inheritance

Using Constructor

Using Method

Similar questions