Java Primitive Types to Calculate Expenses

von
Coursera Project Network
In diesem angeleitetes Projekt werden Sie:

Use Arithmetic Operators to Calculate a Monthly House Payment.

Use a Scanner to assign values taken from User Input.

Create methods to calculate and return monthly house payments and grocery expenses.

Clock2 hours
IntermediateMittel
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

In this project you will create an application that calculates a monthly expense estimation using a calculated monthly house payment and grocery bills using Java. Java is an Object-Oriented language that contains many Classes but also contains what are called Primitive Data Types. These primitive data types are used to store numbers and characters in Java and have all the Arithmetic operations needed to perform various calculations. To get started with Java, it is important to know how to use these built in data types as they are found throughout the language. The primitive data types take up much less space than objects do and can make a program much more efficient when used properly. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Kompetenzen, die Sie erwerben werden

  • Data Type
  • Algorithms
  • Object-Oriented Programming (OOP)
  • Java
  • Computer Programming

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  1. Create the Java Class and add the Public Static Void Main Method to Create the Application.

  2. Initialize primitive variables of type long, int, byte, char, double, float and boolean.

  3. Use Arithmetic Operators to Calculate a Monthly House Payment.

  4. Use a Scanner to assign values taken from User Input.

  5. Create methods to calculate and return monthly house payments and grocery expenses.

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Learner Help Center.