Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are to create a program that does the following: Prints out your name and a hobby that you enjoy. Creates the following variables and

You are to create a program that does the following:

  1. Prints out your name and a hobby that you enjoy.
  2. Creates the following variables and sets them to these initial values:
    • X, an int, that is equal to 10
    • Y, an int, that is equal to 3
    • Z, a double that is equal to X / Y
      • Make sure you use typecasting so no data is lost

NOTE: You do not have to output the values within the variables X, Y or Z as we have not learned that yet. You may use breakpoints to check the values within the variables.

Please help me I am coding in C.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

1 Some key facts about U.S. international trade.

Answered: 1 week ago

Question

text feild constructures in java fx

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago