What is the return data type of the following functions:
a) nextInt()
b) Math.sqrt()
c) Math.random
d) Math.PI
please ans all !!
Share
What is the return data type of the following functions:
a) nextInt()
b) Math.sqrt()
c) Math.random
d) Math.PI
please ans all !!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
Answer:
a. int (integer)
b. double (decimal)
c. double
d. its wrong
Explanation:
i gv all ans to all ur ques here
sry for spell mistk
concept clear
.
.
.
int vowel=0, consounant=0;
char ch='';
{
String st= sc.nextLine();
for(int i=0; i<st.length(); i++)
{
ch= st.charAt(i);
if ( ch='A' || ch='E' || ch='I' || ch='O' || ch='U' || ch='a' || ch='e' || ch='i' || ch='o' || ch='u' )
vowel++;
else
consounant++;
}}
.
.
we can connect and solve doubt through
(the link attach above)
u can comment there