Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VHB C++ EN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VHB Cpp
VHB C++ EN
Commits
097534c9
Commit
097534c9
authored
6 months ago
by
Rudi Buss
Browse files
Options
Downloads
Patches
Plain Diff
Update Exercise 2 - Farm.txt
parent
584761d8
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Part 1/2. Variables, data types, operators, in-/Exercises/Exercise 2 - Farm.txt
+3
-3
3 additions, 3 deletions
...ata types, operators, in-/Exercises/Exercise 2 - Farm.txt
with
3 additions
and
3 deletions
Part 1/2. Variables, data types, operators, in-/Exercises/Exercise 2 - Farm.txt
+
3
−
3
View file @
097534c9
Farmer Max wants to sell a pig.
Add the following variables to your program from Chapter 1 "Exercise 1 - Farm":
¥
weight
¥
dailyPrice
¥
revenue
-
weight
-
dailyPrice
-
revenue
The variable weight (integer) should be used to store the weight of the pig.
The variable dailyPrice (decimal number) should be used to store the daily price of the pig.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment