Computer Science, asked by deepakkr151103, 7 months ago

C language is _level of language​

Answers

Answered by suhrutha21
0

C language is middle level language

Answered by Divyanshushukla8091
0

Answer:

#include <iostream>

#include <vector>

#include <string>

#include <stdio.h>

using namespace std;

int main () {

// User Side

string User = "Username " ;

int password;

password =  100;

//Assistant's Side

string text1 = "ok ";

string text2 = "opening file...... ";

string text3 = "Going.....";

// Machine side

string ok = "ok";

int S_Lin;

string New_User = "User";

int new_password;

new_password = 200;

string User_in;

string te1 = "Open File";

string t2 = "Note Down The all points" ;

string t3 = "Exit";

cout << "------------------------Assistant's Name------------------------------"  << endl;

cout << " " << endl;

cout << "Hello !!, hi  I'am your assistant and what can i help you !!" << endl;

cin >> ok;

cout << "Before that please tell me what can i call you  and a specific password to remeber you??" << endl;

cout << " U : " ;

cin >> User;

cout << "P : " ;

cin >> password;

//If User doesn't maches ??

if (User != "Username" || password != 100 ) {

cout << "There is error in The name or password if you are new so Sign Up " << endl;

cout << "If want to Sign up so please press (2)  or if you want to continue so please press (1)" << endl;

cin >>  S_Lin;

if (S_Lin == 1) {

   cout << "Now please Login with a correct Username and password !!" << endl;

cout << " U : " ;

cin >> User;

cout << "P : " ;

cin >> password;

if( User != "Username") {

cout << "There is error in The name or password " << endl;

cout << "U :";

cin >> User;

} //Username

if(password != 100) {

cout  << "P :";

cin >> password;

} // password = 100

} // S_Lin = 1

if (S_Lin == 2) {

cout << "Please enter new username " << endl;

cout << " U : " ;

cin >> New_User;

cout << "Please enter new Password " << endl;

cout << " P :";

cin >> new_password;

} //S_lin == 2

} //Not User and password is not same

cout << "Hello " << User << "This side your assistant  (assistant name) what can i do for you" << endl;

cin >> User_in, te1, t2, t3;

//statements

// if user says to open a file

if ( User_in == te1) {

cout << text2 << endl;

cout << "Your file is opened !" <<endl;

cout << "Tell me something new " << endl;

cin >> User_in;

}

//if user says any thing to note

if (User_in == t2 ) {

cout << "Please enter here !!" <<endl;

cout << "Done ! " << endl;

cout << "Tell me something new " << endl;

cin >> User_in;

}

//if the user says to exit

if ( User_in == t3) {

cout << text3 << endl;

}

return 0;

} //main

Explanation:

Is this a Middle or High  

Similar questions