Question: Programming Assignment Write a program that declares a variable to hold the number of teaspoons in a tablespoon ( 1 tablespoon = 3 teaspoons )
Programming Assignment
Write a program that declares a variable to hold the number of teaspoons in a tablespoon tablespoon teaspoons Also declare a variable to represent the number of teaspoons needed for a recipe for example, Compute the number of tablespoons and remaining teaspoons needed. Then display explanatory text with the values calculated. Save the program as TablespoonConverter.java. Here is an example of what the output should look like:
A recipe that needs teaspoons requires tablespoons and teaspoon.
Also ensure that the following requirements are met:
Java file is named correctly.
Name, date and assignment information is included at the top of your Java code file as a comment.
Java code is properly indented and readable.
Code comments are present within each major section of code.
Output is formatted like the example above.
Once you verify that your program runs correctly and you have met the requirements, create a Word or PDF document with the following:
Your name, date and assignment identification at the top of the page Ex CIS Week Programming Assignment
Full Java source code listing
Screenshot of the code compiling successfully in the IDE with the timestamp showing.
Screenshot of the code running showing the correct output for the following test case conditions:
Test ID
Input Values
Output Values
teaspoons
tablespoons and teaspoon
teaspoons
tablespoons and teaspoons
teaspoons
tablespoons and teaspoons
Please name the results document with CISWeek where is your first initial and last name.
Submit both the results document and the actual java code file through the classroom.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
