Create a floating point variable

Assignment Help Computer Engineering
Reference no: EM13698111

Step 1: Create a file named: DataTypes2.php in your text editor.

Step 2: Set three integer variables to values of your choice

Step 3: Demonstrate with labels: 1) a math equation using integers and your variables); 2) using one of your variables, each of the assignment symbols (+=,-=,*=,/=); 3) incrementing & decrementing two different variables; 4) three of the six functions (i.e. absolute value, exponential, etc.) .

Step 4: Create a floating point variable of your choice using 4 significant digits (e.g., 1.1111).

Step 5: Demonstrate with labels: 1) your floating point number; 2) the three float rounding functions (for the first function, round to two digits)

Step 6: Put one of your variables and your floating point number through the integer, float, and numeric tests.

Step 7: Here is a sample of what your output should look like.

Please keep it simple and short and no copy and paste or at least help me get started?

Reference no: EM13698111

Previous Q& A

  Find the proper syntax for plotting the graph

Find the proper syntax for plotting the graph of |x|+|y|=1 ranging from -1 to 1 - Hint: you do not need to create x and y.

  2s complement representation

How would you take a decimal number and make it a word-length 2's complement representation?

  What is the difference between the behaviors of lband lbu

What is the difference between the behaviors of lband lbu and Give a code fragment that would place the perimeter of the rectangle in r6.

  When a process creates a new process using the fork command

When a process creates a new process using the fork command, which of the subsequent is shared between the parent process and the child process?

  Signed-magnitude representation of the similar number

Solution the question below, using the ID to identify the number you wish to specify as the correct answer. Place answer in blank provided.

  Write a script to solve the problems using vector operations

Write a script to solve the subsequent problems using only vector operations - Assume you have two vectors named A1 and B1 of equal length and create a vector C1 that combines A1 and B1 such that C1 = [A1(1) B1(1) A1(2) B1(2) . . . . A1(end) B1(end..

  Reading in strings from a text file into an array

If I am reading in strings from a text file into an array, where do I place this file at so that CodeBlocks will find it?

  Describe techniques for optimizing web form usability

Imagine that a local college hired you to look at a lengthy form on the university's office of admissions Website. Prospective students have been calling the office to request information instead of utilizing the university's Website.

  Complete set of logic gates

Do 2-input AND gates which have one input inverted form a complete set of logic gates? Rationalize your answer.

  What is the output of the following program

What is the output of the following program and please explain it how did you get the answer or the output and the reason. void f(int i ) { if ( i = 4 ll i = 5 )/ Line 1 { cout

Reviews

Write a Review

 

Similar Q& A

  What circumstances will you use flash over an html editor

Flash is a popular tool to enhance site interactivity. I require recommendations for how to integrate Flash into a website effectively. Under what circumstances would you use Flash over an HTML editor?

  Write down specification for the adt as a java interface

Write down specification for the ADT as a java interface

  Which there are 200 total unites available in the system

A system has five active processes(A-E) and one type of resource, that there are 200 total unites available in the system. the current state of the system is shown in the table below.

  Write down an applet that reads in the size of the side

Write down an applet that reads in the size of the side of a square and displays a hollow square of that size out of asterisks, by using the drawString method inside your applet's paint method. Use an input dialog to read the size from the user. Y..

  What are the roles of the management sponsors

What are the roles of the management sponsors

  Suppose cookies are not disabled on the client

suppose cookies are not disabled on the client.

  Which is the first line of a class definition

Look at the following code, which is the first line of a class definition: public class Tiger extends Felis In what order will the class constructors execute?

  Questiongenerate and display all 52 cards in a standard

questiongenerate and display all 52 cards in a standard deck of playing cards 2-10 j k q a of hearts diamonds clubs and

  Computer applications that run on desktop and laptop

computer applications that run on desktop and laptop computers have for a long time been designed to be driven by

  Craete an inheritance hierarchy for classes quadrilateral

Write down an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, Rectangle and Square. Use Quadrilateral as the superclass of the hierarchy.

  What are the major issues to consider

Based on the Barr (2009) article, do you think the private sector must employ something similar to the Federal Government's Continuity of Operations Process (COOP) as an integral part of their enterprise risk management plan? What are the major is..

  Tangible investments corporation requires a new customer

tangible investments corporation needs a new customer billing system. as project leader you decided to create a

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