The code below is used to check on the valid human using the above system, construct a control flow graph that can be used to check for all independent paths. (in the next page)

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter13: Handling Events
Section: Chapter Questions
Problem 1CP
icon
Related questions
Question

The code below is used to check on the valid human using the above system, construct a control flow graph that can be used to check for all independent paths. (in the next page)

You are the Software Quality Assurance (SQA) Leader for a software development project
named Canteen Automated System.
Below is the description and requirement for the Smart Question Paper Generating System.
Canteen Automation System enables the end users to register online, read and select the food from e-
menu card and order food online by just selecting the food that the user want to have using android
application. The results after selecting the food from the E-menu card will directly appear in the
screen near the Chef who is going to cook the food for you. The system is the combination of Android
as well as Web Application. By using this application, the work of the waiter is reduced and we can
also say that the work is nullified. The benefit of this is that if there is rush in the Canteen then there
will be chances that the waiters will be unavailable and the users can directly order the food to the
chef online by using this application. The user will have a username and a password, by using which
they can login into the system. This implies that the customer is the regular user of the Canteen.
Transcribed Image Text:You are the Software Quality Assurance (SQA) Leader for a software development project named Canteen Automated System. Below is the description and requirement for the Smart Question Paper Generating System. Canteen Automation System enables the end users to register online, read and select the food from e- menu card and order food online by just selecting the food that the user want to have using android application. The results after selecting the food from the E-menu card will directly appear in the screen near the Chef who is going to cook the food for you. The system is the combination of Android as well as Web Application. By using this application, the work of the waiter is reduced and we can also say that the work is nullified. The benefit of this is that if there is rush in the Canteen then there will be chances that the waiters will be unavailable and the users can directly order the food to the chef online by using this application. The user will have a username and a password, by using which they can login into the system. This implies that the customer is the regular user of the Canteen.
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
char robotChk[10];
int val;
cout<<"Are You a Robot ? ";
cin>>robotChk;
val = strcmp("yes", robotChk);
if(val==0)
cout<<"\nYou can't Proceed!";
else
cout<<"\nYou're Welcome!";
cout<<endl;
return 0;
}
Transcribed Image Text:#include<iostream> #include<string.h> using namespace std; int main() { char robotChk[10]; int val; cout<<"Are You a Robot ? "; cin>>robotChk; val = strcmp("yes", robotChk); if(val==0) cout<<"\nYou can't Proceed!"; else cout<<"\nYou're Welcome!"; cout<<endl; return 0; }
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Algebraic Expression
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,