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: 345 Weeks Ago, 5 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 5.00

Write a program that declares a 10-element array of i nt

Write a program that declares a 10-element array of i nt , uses a loop to initialize each element to the value of its index squared, and then uses another loop to print the contents of the array, one integer per line.

 

Answers

(8)
Status NEW Posted 05 May 2017 01:05 PM My Price 5.00

-----------

Attachments

1493991242-1855724_2_636294699656887558_sample-output.PNG
file 1493991256-Answer.docx preview (129 words )
W-----------rit-----------e a----------- pr-----------ogr-----------am -----------tha-----------t d-----------ecl-----------are-----------s a----------- 10------------el-----------eme-----------nt -----------arr-----------ay -----------of -----------i n-----------t ,----------- us-----------es -----------a l-----------oop----------- to----------- in-----------iti-----------ali-----------ze -----------eac-----------h e-----------lem-----------ent----------- to----------- th-----------e v-----------alu-----------e o-----------f i-----------ts -----------ind-----------ex -----------squ-----------are-----------d, -----------and----------- th-----------en -----------use-----------s a-----------not-----------her----------- lo-----------op -----------to -----------pri-----------nt -----------the----------- co-----------nte-----------nts----------- of----------- th-----------e a-----------rra-----------y, -----------one----------- in-----------teg-----------er -----------per----------- li-----------ne.----------- Â----------- #i-----------ncl-----------ude----------- &a-----------mp;-----------lt;-----------ios-----------tre-----------am&-----------amp-----------;gt-----------; -----------usi-----------ng -----------nam-----------esp-----------ace----------- st-----------d; ----------- in-----------t m-----------ain-----------() ----------- { ----------- ----------- i-----------nt -----------arr-----------[10-----------]; ----------- ----------- c-----------out-----------&am-----------p;l-----------t;&-----------amp-----------;lt-----------;&q-----------uot-----------;Pl-----------eas-----------e i-----------npu-----------t a-----------rra-----------y d-----------ata-----------&qu-----------ot;-----------&am-----------p;l-----------t;&-----------amp-----------;lt-----------;en-----------dl;----------- ----------- -----------for-----------(in-----------t l-----------oop----------- = -----------0; -----------loo-----------p&a-----------mp;-----------lt;-----------10;-----------
Not Rated(0)