3. Create a Rust program that has a variable (fees) that can contain 32-bit integers and a variable (costs) that contain 64-bit floating point numbers. Load fees with 35000 and cost with 45000.75. Print out the values of both fees and costs. Create a third 32-bit integer variable that you don't plan on using yet called profit and make sure that Rust will not generate an "unused variable error" for this variable.
3. Create a Rust program that has a variable (fees) that can contain 32-bit integers and a variable (costs) that contain 64-bit floating point numbers. Load fees with 35000 and cost with 45000.75. Print out the values of both fees and costs. Create a third 32-bit integer variable that you don't plan on using yet called profit and make sure that Rust will not generate an "unused variable error" for this variable.
Related questions
Question
use the RUST
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
Unlock instant AI solutions
Tap the button
to generate a solution