<< Prev Showing: 46-50 of 180 Next >>
· 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 ·Change code in Java program so that input of floating point values is possible
Change code in Java program so that input of floating point values is possible. /* Java program which outputs the average speed of an *object given the distance and time travelled * (speed = distance/time). */ // Java extension packages import java.util.*; // import class import java.io.*; // import class public class AverageSpeed { // main method begins execution of Java application public static void main( String args[]) { Scanner input = new Scanner( System.in ); int Distance; // Number keyed in by user representing distance travelled int Time; // Number keyed in by user representing time taken int Speed; // Calculated average speed ... click for more
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
91991
OTA ID:
103997
Java Program, which determines the distance travelled by a projectile
Write a Program in Java, which determines the distance travelled by a projectile (launched from the ground) given: 1. The velocity at launch (u), and 2.The launch angle (angle of elevation) above the horizontal (A). The program should consist of two files: Launch.java and LaunchApp.java (application). Assume the following: 1. The angle of elevation is given in degrees and is in the range of 0 to 90. 2. Start velocity is given as a positive number. 3. Gravity (g) is equivalent to 10m/s ^ 2. 4. Ignore air resistance. Note also that to solve the above we must carry out the following steps: 1. Calculate the vertical and horizontal components of u (the l... click for more
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
92463
OTA ID:
105303
I need a C++ program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score. Student data should be stored in a struct variable of the type studentType, which has four components: studentFName and studentLName of the type string, testScore of the type int (testScore is between 0 and 100), and grade of the type char. My class has 20 students. Use an array of 20 components of the type studentType. The program must contain at least the following functions: a.) A funct... click for more
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
92490
OTA ID:
105277
Input two sides of a rectangle, program should output the area and perimeter
When you input two sides of a rectangle, your Java-program should output the area and perimeter of that rectangle (use the template code attached). The program should consist of two java files, Rectangle.java and RectangleApp.java. Comment the code.
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
92549
OTA ID:
103997
When you input two strings representing your first and last names, have your program output your initials. The program should consist of two files, Initials.java and InitialsApp.java. Comment the code.
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
92550
OTA ID:
103997
<< Prev Showing: 46-50 of 180 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 ·Page generated in 0.0928 seconds