52 839
Assignments Done
98,1%
Successfully Done
In October 2017
Your physics homework can be a real challenge, and the due date can be really close — feel free to use our assistance and get the desired result.
Be sure that math assignments completed by our experts will be error-free and done according to your instructions specified in the submitted order form.
Our experts will gladly share their knowledge and help you with programming homework. Keep up with the world’s newest programming trends.

Answer on Complex Analysis Question for Naren

Question #13350
A(4,8,12) B(2,4,6) C(3,5,4) D(5,8,5) are four points: show that the lines AB and CD intersect???and also point of intersection
Expert's answer
#include <iostream>
#include <vector>
#include <stdlib.h>
#include <time.h>
using namespace std;
int main () {
vector < int > answer;
srand(time(0));
for (int i = 0 ; i < 25 ; i++)
{
& answer.push_back(rand()%4);
}
cout<< "Please, give your answer for these questions(1,2,3 or 4 answer): \n";
int ok = 0;
for (int i = 0 ; i < 25 ; i++){
& int mark;
& cout<< "Quest number: "<< i + 1 << ':';
& cin>>mark;
& if (answer[i] == mark - 1) ok++;
}

if (ok < 15) cout<<"You failed your exam!\n The amount of right answers is: "<< ok <<endl;
else cout<<"YOU've done ok!\n The amount of right answers is: "<< ok <<endl;
cout<<"The right answers:\n";
for (int i = 0 ; i < 25 ; i++){
& cout<< "Answer "<<i+1 <<" : "<< answer[i] + 1<<endl;
}


system("pause");
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question