c++ pseudocode /debug

Encerrado Postado há 5 anos Pago na entrega
Encerrado Pago na entrega

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.

Algoritmo Programação C++

ID do Projeto: #17255174

Sobre o projeto

53 propostas Projeto remoto Ativo em há 5 anos

53 freelancers estão ofertando em média $89 nesse trabalho

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 em 1 dia
(161 Comentários)
7.5
NMoshEng

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

$80 USD em 1 dia
(16 Comentários)
7.7
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 em 1 dia
(675 Comentários)
7.3
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 Mais

$40 USD em 1 dia
(143 Comentários)
7.0
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 in 3 dias
(77 Comentários)
6.7
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 in 3 dias
(27 Comentários)
6.4
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 in 3 dias
(118 Comentários)
6.5
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 in 3 dias
(52 Comentários)
5.9
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 in 3 dias
(87 Comentários)
6.2
vladang

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

$50 USD in 3 dias
(66 Comentários)
5.9
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 em 1 dia
(12 Comentários)
4.5
SUog

Hi, I can complete the project as requested. Thank you

$60 USD in 3 dias
(26 Comentários)
4.6
Dream20172017

Hello! I have rich experiences in C, C++, C#, .NET, Algorithm, Mathematics, Image Processing, Video Processing, etc. Especially I have been working in computer vision for 10+ years . So I am really confident about y Mais

$100 USD in 2 dias
(9 Comentários)
4.2
mehfuza

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

$30 USD em 1 dia
(20 Comentários)
4.4
jimytech

Olá, não procure mais, vou fazer isso para você, garanto qualidade no código, e também farei o relatório final do trabalho. Comunique-se comigo e diga-me os detalhes que você acha que são importantes. Lembre-se q Mais

$30 USD em 1 dia
(7 Comentários)
4.0
ahsan535

Hey I am relay interested i am a software engineering student and expert on C++ Just hire me right now may be in 20 minute you will get the all solution thanks Regard Ahsan

$30 USD em 1 dia
(0 Comentários)
0.0
futun

HIGHLY interested with your project. I'm ready to start right now. My completion rate is always 100% and I STRICTLY BITE WHICH I CAN CHEW. Knock me please

$150 USD in 3 dias
(7 Comentários)
0.0
MarioMourad0

I'm a competitive programmer and i used to debug codes and i used to solve problems on codeforces my handle is obelisk-

$100 USD in 3 dias
(0 Comentários)
0.0
skymansandycs

I have lot of experience in C, Java ,C++ and can do this project in very less time with documentation.

$30 USD in 3 dias
(0 Comentários)
0.0
harrymaierhofer

Special price because I want to increase my ranking. This seems like a straight forward task, I will gladly answer any additional C/C++ related questions you might have.

$55 USD em 1 dia
(0 Comentários)
0.0