Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
write a java program to print areaof an equilateral triangle . (without using scanner)
Home
Education
write a java program to print areaof an...
asked
Dec 31, 2021
in
Education
by
JackTerrance
write a java program to print areaof an equilateral triangle . (without using scanner) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 31, 2021
by
JackTerrance
Best answer
Answer: public class Brainly { public static void main(String [] args) { System.out.println(Math.sqrt(3/4) * 55 ** 2); } } // 55 is taken as random value. // it is a side.
Related questions
0
votes
Q: Write a program in Java to find the area and perimeter of a right-angled triangle by using function argument. Take perpendicular andbase as inputs.
Write a program in Java to find the area and perimeter of a right- angled triangle by using function ... inputs. angled triangle Select the correct answer from above options...
asked
Dec 7, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in Java to find the area and perimeter of a right-angled triangle by using function argument. Take perpendicular andbase as inputs.
Write a program in Java to find the area and perimeter of a right- angled triangle by using function ... inputs. angled triangle Select the correct answer from above options...
asked
Dec 5, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in Java to find the area and perimeter of a right-angled triangle by using function argument. Take perpendicular andbase as inputs.
Write a program in Java to find the area and perimeter of a right- angled triangle by using function ... inputs. angled triangle Select the correct answer from above options...
asked
Nov 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Wap in Java to print a pascal triangle in simple language. Please explain the logic
Wap in Java to print a pascal triangle in simple language. Please explain the logic Select the correct answer from above options...
asked
Dec 22, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program to find the perimeter of a triangle with sides measuring 10cm, 14 cm and 15 cm.
Write a program to find the perimeter of a triangle with sides measuring 10cm, 14 cm and 15 cm. Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Using Scanner, input name, class, div, roll number and marks in three subjects of a student. Calculate total and average if grand total is 300. Print student name , total and average.
Using Scanner, input name, class, div, roll number and marks in three subjects of a student. Calculate total ... total and average. Select the correct answer from above options...
asked
Nov 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to print fibonacci series . write a program to search an element within the array using binary search
write a program to print fibonacci series . write a program to search an element within the array using binary search Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to enter a sentence and check if it contains palindrome words or not. if yes then count and print all palindrome words in the sentence present. Java class 10
write a program to enter a sentence and check if it contains palindrome words or not. if yes then count and ... present. Java class 10 Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: How to write a program in JAVA to print the sum of ASCII values of a particular word input ?
How to write a program in JAVA to print the sum of ASCII values of a particular word input ? Select the correct answer from above options...
asked
Dec 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in JAVA to input a sentence reverse every word and print .
Write a program in JAVA to input a sentence reverse every word and print . Please answer someone. Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in JAVA to print :1121231234
Write a program in JAVA to print : 1 12 123 1234 12345 Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in JAVA to print this pattern :-1121231234
Write a program in JAVA to print this pattern :- 1 12 123 1234 12345 Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program in Java to input a number and print if it is a special number or not.
write a program in Java to input a number and print if it is a special number or not. do this program using ... nested and while loop . Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in Java to print all palindromic numbers between 150-250.
Write a program in Java to print all palindromic numbers between 150-250. Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to input a number and print table of the number using while loop
write a program to input a number and print table of the number using while loop Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...