Suljettu

c++ pseudocode /debug

Task​ ​1​ ​–​ ​Debugging

int main ( )

{

int data [] = { 33, 27, 7, 3, 9, 2, 5, 11, 23, 1, 16, 29, 8, 0};

int tmp;

for( int i = 0; i < [login to view URL]; i++)

cout << data[i] << " ";

cout << endl;

for (int i = 0; i < data.length-1; i++)

for (int j = i+1; j < [login to view URL]; j++)

if (data[i] > data[j])

{

tmp = data[i];

data[i] = data[j];

data[j] = tmp;

}

for( int i = 0; i < [login to view URL]; i++)

cout << data[i] << " ";

cout << endl;

system ("pause");

return 0;

}

From the code given for this task above, use the debugging technique and answer the

questions below:

1. In line 7, what is the output when ‘cout’ has been executed 7 times?

2. In line 17, what is a value of ‘tmp’ when ‘I’ is equal to 5 and ‘j’ is equal to 8?

3. In line 19, what is a value of data[j], when it has been executed for 25 times?

Export all the breakpoints you have created and submit them with your answer.

Task​ ​2

Design the logic for a program that allows a user to enter 10 numbers and store them in

an array. The program then displays the numbers in ascending order

Task​ ​3

Design a class named ResearchPaper that holds an author’s name, the subject of the

research paper, and an assigned letter grade. Include methods to set the values for each

data field and display the values for each data field. Create the class diagram and write

the pseudocode that defines the class.

Taidot: Algoritmi, C++ -ohjelmointi

Näytä lisää: asterisk ivr user enter pin, oscommerce user enter price, mips code ask user enter integer, pseudocode examples pdf, pseudocode exercises, pseudocode and flowchart examples, pseudocode for dummies, pseudocode for beginners, pseudocode questions and answers pdf, pseudocode examples, pseudocode examples c++, 9. c++ programming, mips program prompts user enter line input, disallow user enter empty data php form, create gui allows user enter following labeled textfields, asp net ajax reload user enter character text field, input string java user enter quit, java program allows user enter series contacts names, c++ programming step by step beginner's to experts, c programming step by step beginner's to experts edition

Tietoa työnantajasta:
( 1 arvostelu ) Croydon Park, Brazil

Projektin tunnus: #17255174

64 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

freelancerLatino

Hi, I am expert with C and C++ since more than 20 years ago!... you can see my previous work. I can do it very fast. When do you need it?.

$35 USD 1 päivässä
(104 arvostelua)
7.2
it2051229

Hi there, went through the requirements and I would like to do this project if given the opportunity. I do C++ programming and this project of yours is something I can confidently do. Let me know if you are interested.

$30 USD 1 päivässä
(617 arvostelua)
7.1
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ Lisää

$40 USD 1 päivässä
(84 arvostelua)
6.5
octopus823

How are you? I have much experiences in writing C++ code. I hope our cooperation. Let’s contact and discuss with each other. Thanks.

$120 USD 3 päivässä
(67 arvostelua)
6.5
xiqian88

Hello. How are you today? I am very interested in your project. I have good experience with C++ development. Please message me for detail discussion with good result. Best Regards!

$300 USD 3 päivässä
(27 arvostelua)
6.3
dinhfreedom

-------------------------------Best result on time && Master in C++ and Algorithm!------------------------------------- Hello, dear! I have read your proposal and I am very interesting in your project. I have good e Lisää

$100 USD 3 päivässä
(40 arvostelua)
6.1
$50 USD 1 päivässä
(127 arvostelua)
6.0
liangjongai

Hi! I'm interesting your project very well. I am a full time devloper. I am mastering c++ and I'm a good Mathematician. And also I have many experience and good skill about algorithm development. [login to view URL] Lisää

$150 USD 3 päivässä
(58 arvostelua)
5.8
erndsglts

I have 7 years experience in Qt,C++ on Linux ad windows. I have 7 years experience in Qt,C++ on Linux ad windows.

$250 USD 3 päivässä
(35 arvostelua)
5.8
xzan88

Hi, I have over 10 years of experience in C/C++ programming. I can do all three and be finished today. Please contact me.

$155 USD 3 päivässä
(77 arvostelua)
5.8
davidngo817

Hello,dear! I am very interested in your project. I have extensive experience in this field. As a developer with rich experience,i am confident about your project. I will provide the perfect result on time. If you Lisää

$100 USD 3 päivässä
(22 arvostelua)
5.5
kcbStar

Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C++ programming. I will provide you quality work according to your instrument. Thank you.

$60 USD 3 päivässä
(62 arvostelua)
5.7
vladang

Hello sir. I can make your 3 tasks as per description you provided. Please, contact me to make deal. Regards

$50 USD 3 päivässä
(30 arvostelua)
4.9
BestPartner4You

Hi Sir, I am a super C/C++ developer and have 7 years of enough experience in this kinds of projects, so I can help you. I checked your all requirements and understood what you want. I will provide you best quality w Lisää

$155 USD 3 päivässä
(14 arvostelua)
5.0
$155 USD 3 päivässä
(18 arvostelua)
5.2
NMoshEng

Hello. I can finish this quickly for you and write the results in a nice and organized way. Regards, Nimrod.

$80 USD 1 päivässä
(6 arvostelua)
4.4
$155 USD 3 päivässä
(18 arvostelua)
4.6
polarjin2017

Hello? How are you? I have good skills in this fields. So I can help you if you want. I will never disappoint you Hope to work with you. Thanks.

$155 USD 1 päivässä
(10 arvostelua)
4.3
$100 USD 3 päivässä
(20 arvostelua)
4.5
mehfuza

I've read your questions and I'm very interested as well as confident to solve it as per the instructions.

$30 USD 1 päivässä
(18 arvostelua)
4.4