CS104_IP5.docx - E...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: E CS1047IP57FIannery , [CS1047IP57FIannery.dev] , DevVC++ 5.11 , >< 5|. gdn §eard1 yim Emjed Egeeute Iools 55mg flindow fielp Jasmine lowulnnl Hsswuaa Jflfl J (91“.: Salmlmwlw v vl ijed cusses Debug ‘ CS1M_|P5_FIannery Line: 22 Col: 82 [‘1 Win-(PP CS104_Unit5_Sample_Code.cpp 1 #include <iostream) 2 3 using Ila-espate std; 4 5 6 in amino 7 = { 8 int nyArray = (e, A, 8, 12, 15)} 9 int arraySize = sizeofOIyAI-ray) / sizeoflint); 1a cout << "Please emer an Integer value: "; 11 12 cin >> IIyArr-ny[2]; 13 14 for(int k=15 k < arraysize; k») 15 = { 16 “(k == 1) 17 = 1 { 18 cout << "‘I’llis array pasidon " << k << " has the user enQered value stored as " << IlyArray[|<] << "\n“; 19 ) 20 1 else 21 = { 22 . cout << "11|e Irray position " (< k << " cont-ins value " << nyArI-nyllnn << "\n"; 23 ‘ } 24 } 25 26 return a; 27 ) Sel: 0 Linec 27 Length: 515 Insert Done pavsinginomfvseconds E C51047|P57Flannery , [cs1o4JP5annnery.dev] , DevVC++ 5.11 7 >< Eile Edit geanh Miew Emjed Egemte Iools AStyle window flelp Jun-mumsflwdlonl Hsswuaa jfijq j (91“.: galwxlmnflw‘ vl ijed cusses Debug ‘ CS1M_|P5_FIannery [‘1 "“3“ch CS104_Unit5_Sample_Code.cpp 1 #include dosh-earn) using Ila-esp“: std; aunt-why int main () 7 { 8% int IlvArrav H = (e. A. 8. 12. 16): :5 Cumpiler ‘ Resouxes fl] COMP“e L09 W Debug In Find Results Close Abort Compilation :I Shorten compiler paths Line: 2 Col: 82 Compiling single file. . . - Eilename : C : \Users\nicho\Download:\C5104_Unit5_sample_Code . opp - Compiler Name: TDM-GCC 4.9.2 64-bit Release Processing C++ source file... - C++ Compiler: C:\ongram Files (x86)\Dev-Cpp\MinGW64\bin\g++.exe - Command: g++.exe "C:\Users\nioho\Download:\CSlO4_Unit5_fia.mple_Code.opp" -o "C:\User:\nicho\Downloada\CSl04_Unit5_fia.mpl Compilation results. . . - Errors: 0 - Warnings: 0 - Output Filename: C:\U:ezs\nicho\Downloads\C5104_Unit5_sample_Code.exe - Output Size: 1.8324459130249 MiB - Compilation Time: 0.50: Sel: 0 Line: 27 Length: 515 Insert Done parsing in 0.015 seconds E CSWOAJPSfbnnery , [cswoAJPsfianneryuev] , [Exewting] , Dem" 5.11 7 X Elle gda gemh Mlew 2mm Egetute loads 5th flmdow flelp JDIIIIImIEmIlowwgmfileflfillHaanaaslwxImIHme«mum-u 4 IE“ nglablls) VI v} Project (31.555 Debug [’Imain.cpp CS1M_Unit5_Sample_Code.cpp LI C:\Users\nich0\Downloads\CS1047Uni1575amp|e7Codeexe 7 D X :5 Compiler i R Mimi Cumpilalia wnload:\c51 O4_Vnit5_sampl Length: 515 ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern