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 05 May 2017 My Price 7.00

Print integer 40000 left justified in a 15-digit field.

(Write C++ Statements) Write a statement for each of the following:

a) Print integer 40000 left justified in a 15-digit field.

b) Read a string into character array variable state.

c) Print 200 with and without a sign.

d) Print the decimal value 100 in hexadecimal form preceded by 0x.

e) Read characters into array charArray until the character 'p' is encountered, up to a limit of 10 characters (including the terminating null character). Extract the delimiter from the input stream, and discard it.

f) Print 1.234 in a 9-digit field with preceding zeros.

 

Answers

(8)
Status NEW Posted 05 May 2017 03:05 PM My Price 7.00

-----------

Attachments

file 1493999976-Answer.docx preview (359 words )
(-----------Wri-----------te -----------C++----------- St-----------ate-----------men-----------ts)----------- Wr-----------ite----------- a -----------sta-----------tem-----------ent----------- fo-----------r e-----------ach----------- of----------- th-----------e f-----------oll-----------owi-----------ng:----------- a-----------) P-----------rin-----------t i-----------nte-----------ger----------- 40-----------000----------- le-----------ft -----------jus-----------tif-----------ied----------- in----------- a -----------15------------dig-----------it -----------fie-----------ld.----------- b-----------) R-----------ead----------- a -----------str-----------ing----------- in-----------to -----------cha-----------rac-----------ter----------- ar-----------ray----------- va-----------ria-----------ble----------- st-----------ate-----------. -----------c) -----------Pri-----------nt -----------200----------- wi-----------th -----------and----------- wi-----------tho-----------ut -----------a s-----------ign-----------. -----------d) -----------Pri-----------nt -----------the----------- de-----------cim-----------al -----------val-----------ue -----------100----------- in----------- he-----------xad-----------eci-----------mal----------- fo-----------rm -----------pre-----------ced-----------ed -----------by -----------0x.----------- e-----------) R-----------ead----------- ch-----------ara-----------cte-----------rs -----------int-----------o a-----------rra-----------y c-----------har-----------Arr-----------ay -----------unt-----------il -----------the----------- ch-----------ara-----------cte-----------r &-----------amp-----------;am-----------p;#-----------39;-----------p&a-----------mp;-----------amp-----------;#3-----------9; -----------is -----------enc-----------oun-----------ter-----------ed,----------- up----------- to----------- a -----------lim-----------it -----------of -----------10 -----------cha-----------rac-----------ter-----------s (-----------inc-----------lud-----------ing-----------
Not Rated(0)