Program that satisfies requirements of programming project

Assignment Help Programming Languages
Reference no: EM13677630

Required Setup and Tools

  • Standard computer lab with Pelles C and Microsoft Visio installed
  • Textbook

 Recommended Procedures:

Write a program that satisfies the requirements of Programming Project 2 of Hanly, and that uses the following modifications and tips:

  • Use the COLOR_CODES string array.
  • Instead of restricting the user input to "no caps", use the string library function strlwr() to change the input to all lower case.
  • If the user input is the word "purple", replace it with the word "violet".
  • If the user input is the word "grey", replace it with "gray".
  • Instead of printing the resistance value in kilo-ohms, if the resistance value is less than 1000 ohms, print the resistance in ohms; if the resistance value is less than 1000000 (1 million) ohms, print the resistance in kilo-ohms; otherwise, print the resistance value in Mega-ohms.
  • You may want to refer to the Lab Assignment Task 3 from Unit 4 (Resistor classification lab).
  • Start with the skeleton program provided below. Fill in the header in the usual manner. 

Build your program and fix any errors. Test your program with a variety of resistor color codes, making sure you test resistances below 1k ohm, between 1k ohm and 1M ohm, and above 1M ohm. Make sure you test using both the words "violet" and "purple", as well as "gray" and "grey". Make sure you test using upper- and lowercase color names.

Reference no: EM13677630

Questions Cloud

Find what current is needed : A 30 centimeter long solenoid consists of 5300 turns of wire wound uniformly. Find what current is needed to produce an 8.3 mT magnetic field inside the solenoid
Obtain the magnitude of magnetic field in the space : A 17 centimeter long solenoid has 4700 turns of wire. Inside this solenoid is a second one, also 17 centimeter long but with 2200 turns of wire. Obtain the magnitude of magnetic field in the space between the two solenoids
Obtain the magnitude of the magnetic field : Two long parallel wires each carry 2.7 Amp in the similar direction, with their centers 1.7 centimeter apart. Obtain the magnitude of the magnetic field halfway between the wires
Find what the magnitude of force exerted on this particle : A particle with a charge of -1.75 x 10-8 C is moving with an instantaneous velocity of magnitude 44.5 km/s in the xy-plane at an angle of 55o counterclockwise from the +x axis. Find the magnitude of the force exerted on this particle by a magnetic fi..
Program that satisfies requirements of programming project : Write a program that satisfies the requirements of Programming Project 2 of Hanly, and that uses the following modifications and tips -Use the COLOR_CODES string array.
Find what angle should the wire make : Find what angle should the wire make with the magnetic field therefore that the wire experiences a force per unit length of 1.20 N/m
Obtain the direction of the magnetic force on wire : A 7.70 centimeter length of straight wire runs horizontally along a north-south line. Obtain the direction of the magnetic force on wire
Find how large a magnetic field is needed : Find how large a magnetic field is needed to keep singly ionized helium atoms (4He) with kinetic energy 210 eV within the chamber
Determine what must be the tension in wire : Two wires are anchored at both ends. Wire 1 has a mass of 147 gram and a length of 9.2 meter. Determine what must be the tension in Wire 1 if its third harmonic is to equal the first overtone of Wire 2

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd