Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
write the programs in java using Given value:
Home
Education
write the programs in java using Given value:
asked
Dec 21, 2021
in
Education
by
JackTerrance
write the programs in java using Given value: 1. The cost of 20 books is Rs. 200 . print the cost of 400 books? Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 21, 2021
by
JackTerrance
Best answer
Answer: The cost of 20 books is 200 rupees, so the cost of 1 book is 10 rupees. The cost of 400 books is 400×10 = 4000 rupees.
Related questions
0
votes
Q: write an if statement program in java to find the smallest of three given integers using min() metho
write an if statement program in java to find the smallest of three given integers using min() method of the Math ... I will report. Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In case of integer overflow, Which of the following option/s is/are true?1.It is a result of an attempt to store a value greater than the maximum value an integer can store2.Integer overflow can compromise a program’s reliability and security3.Both A and B
In case of integer overflow, Which of the following option/s is/are true? 1.It is a result of an attempt to ... 4.None of the above Select the correct answer from above options...
asked
Nov 30, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: The value of a is 34 and the value of b is 79. Write a JAVA program to interchange the value of a an
The value of a is 34 and the value of b is 79. Write a JAVA program to interchange the value of a and b ... After interchange a=79 b=34 Select the correct answer from above options...
asked
Dec 21, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 6. A business man wishes to accumulate 3000 shares of a company. However, healready has some shares of that company valuing * 10 (nominal value) whichyield 10% dividend per annum and receive 2000 as dividend at the end ofthe year. Write a program in Java to calculate the number of shares he has andhow many more shares to be purchased to make his target.
6. A business man wishes to accumulate 3000 shares of a company. However, he already has some shares of that ... 100/Nominal value*div% Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write C program that use both recursive and non recursive functions to perform Linear search for a Key value in a given list.
Write C program that use both recursive and non recursive functions to perform Linear search for a Key value in a given list. Select the correct answer from above options...
asked
Dec 17, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a function that interchange and prints the value of two integers A and B without using
Write a function that interchange and prints the value of two integers A and B without using any extra variable in php. Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in python to insert ten friends name in a list, then print 3rd, 5th and 9th value from the list (using data structure)
Write a program in python to insert ten friends name in a list, then print 3rd, 5th and 9th value from the list (using data structure) Select the correct answer from above options...
asked
Dec 14, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in java to display the given pattern.11 21 2 31 2 3 41 2 3 4 5Please answer it correctlyI will mark you as brainlist
Write a program in java to display the given pattern. 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Please ... as brainlist Please answer it very fast Select the correct answer from above options...
asked
Dec 21, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a java program to print areaof an equilateral triangle . (without using scanner)
write a java program to print areaof an equilateral triangle . (without using scanner) 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: Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula.Fahrenheit= (Celsius*9/5) +32
Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula ... INPUT METHOD 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 Java program to read two strings from command line arguments and check the equality of two strings using string function.
Write a Java program to read two strings from command line arguments and check the equality of two strings using string function. Select the correct answer from above options...
asked
Dec 9, 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 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: Write an if statement to find the smallest of three given integers using min() method of the Math class.
Write an if statement to find the smallest of three given integers using min() method of the Math class. Plz solve this quickly.. Select the correct answer from above options...
asked
Dec 20, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...