Tags:
tag this topic
create new tag
view all tags
---++Simple Calculator: Lab 2 for Programming 1: Fall 2019 ---+++Description The goal for this lab is a VERY simple calculator that can do +, -, *, and / on real numbers. It should first ask the user what operation they wish done, and then get the two operands. It should then output the results. ---+++Details The input should be: * The character representing the operation * two real numbers The output should be: * The result or an error message (if appropriate) ---+++What to turn in A zip folder with: 1. The java code 1. A word document that includes the following sections 1. Your name 1. A description of the problem 1. Time it took to right 1. Testing Report (input with associated output that proves your program works). Include at least two different cases of weird input and what the program does ---+++Additional notes * Don't forget to comment your code. * Watch your spacing and line length * Use good variable names * Use good prompts ---+++Challenge Be sure to get a complete, correct, working program first * Simple: Add additional operators * Advanced: Allow the user to use integers or floating point numbers (without specifying which) and do the appropriate operation. ===Due Date is found on Canvas===
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2021-09-03
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback