Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 25 May 2017 My Price 5.00

Suppose salary and deductions are variables of type double

 

Suppose salary and deductions are variables of type double that have been given values. Write an if-else statement that displays OK and sets the variable net equal to salary minus deductions, provided that salary is at least as large as deductions. If, however, salary is less than deductions, the if-else statement should simply display the words No Way but not change the value of any variables.

 

 

 

 
 

Answers

(8)
Status NEW Posted 25 May 2017 09:05 AM My Price 5.00

-----------

Attachments

file 1495704283-Answer.docx preview (118 words )
S-----------upp-----------ose----------- sa-----------lar-----------y a-----------nd -----------ded-----------uct-----------ion-----------s a-----------re -----------var-----------iab-----------les----------- of----------- ty-----------pe -----------dou-----------ble----------- th-----------at -----------hav-----------e b-----------een----------- gi-----------ven----------- va-----------lue-----------s. -----------Wri-----------te -----------an -----------if------------els-----------e s-----------tat-----------eme-----------nt -----------tha-----------t d-----------isp-----------lay-----------s O-----------K a-----------nd -----------set-----------s t-----------he -----------var-----------iab-----------le -----------net----------- eq-----------ual----------- to----------- sa-----------lar-----------y m-----------inu-----------s d-----------edu-----------cti-----------ons-----------, p-----------rov-----------ide-----------d t-----------hat----------- sa-----------lar-----------y i-----------s a-----------t l-----------eas-----------t a-----------s l-----------arg-----------e a-----------s d-----------edu-----------cti-----------ons-----------. I-----------f, -----------how-----------eve-----------r, -----------sal-----------ary----------- is----------- le-----------ss -----------tha-----------n d-----------edu-----------cti-----------ons-----------, t-----------he -----------if------------els-----------e s-----------tat-----------eme-----------nt -----------sho-----------uld----------- si-----------mpl-----------y d-----------isp-----------lay----------- th-----------e w-----------ord-----------s N-----------o W-----------ay -----------but----------- no-----------t c-----------han-----------ge -----------the----------- va-----------lue----------- of----------- an-----------y v-----------ari-----------abl-----------es.----------- Â-----------  -----------Sep----------- 13----------- 20-----------16 -----------12:-----------13 -----------PM ----------- im-----------por-----------t
Not Rated(0)