a.The primary purpose of JavaScript is to enable features such as validation of forms before they are submitted to the server.
<u>Explanation:</u>
On web pages before submitting the day, end user has to do client validations such as whether data enter is correct data type, so end user for client side validation been eiher by VBSCRIPT (visual basic script language) or (JavaScript java script). Internet explorer or Microsoft edge uses VBSCRIPT for web page validation.
For visual basic script languages end user should have enough knowledge on visual basic programming languages. Same away for java script end user have enough knowledge on c language.
Both Scripts are used for client side validation on success of validation end user will submit web page form for next action. JavaScript is used in most of the browser including Microsoft explorer or Microsoft edge.
Answer:
Explanation: Another way by which you can do it, press the Ctrl+1 key on your keyboard, Format cells dialog box will get appear. Go to Alignment tab, Click on Justify in Vertical drop down list, click on ok. This is the way by which you can prevent the text from spilling over in Microsoft Excel 2010 and 2013.
Answer:
#include<iostream>
using namespace std;
int main()
{
char a;
char b;
char c;
cin >> a;
cin >> b;
cin >> c;
cout<<a<<b<<c<<endl;
cout<<a<<c<<b<<endl;
cout<<b<<a<<c<<endl;
cout<<b<<c<<a<<endl;
cout<<c<<a<<b<<endl;
cout<<c<<b<<a<<endl;
cout << endl;
}
Explanation:
Note: code is hard coded it does not contain any logic based coding
Answer:
Explanation:
Let G denote an unambiguous Grammar capable of producing simple mathematical expressions, involving operators +,-,*,/. These operators are left associative (which ensures left to right evaluation). S is the start symbol of the Grammar i.e. the production starts from S. n denotes a number and is a terminal i.e. we can't produce anything further from n. Then, the solution is as follows :
S → S + T |S - T | S
T→T | F | T*F|F
F → n
Here, S, T and F are variables. Note that /,* have been given precedence over +,-.