Hey i'm guys i'm new at using netbeans.. and i have an Assignment.
can anybody help me with it? thanks
Q1 Write a Java program to do the following: 1. Declare 2 integers 2. Define a scanner object 3. Ask the user to enter 2 numbers 4. Read the first number 5. Read the second number 6. Find the product of the two numbers 7. Print the result
Q2
Write a program that prompts the user to input the total number of students that plan to take ITBP119, maximum number of sections that CIT can teach. All sections must have the same number of students. The program then outputs the number of students per section, and the number of students that cannot register. Hint: Use the division and modulus operations. Here is a sample of input/output is: Enter the total number of students: 127 Enter the maximum number of sections: 6 Number of students per section is: 21 Number of students that cannot register: 1
Q3
To attract more clients a local store marks down the prices of items by a certain percentage. Write a program that reads the original price of the item sold and the percentage of the mark-down price. The program then outputs the original price of the item, the marked-down percentage and the store’s selling price of the item.