Answer:
Following are the program in the C++ Programming Language.
//header file
#include<iostream>
//header file
#include <bits/stdc++.h>
//namespace
using namespace std;
//set main function
int main()
{
//set float type variables
float a,s,m,d,c,b,g;
//print message and get variable from the user
cout<<" Enter The First Number : ";
cin>>c;
//print message and get variable from the user
cout<<" Enter The Second Number: ";
cin>>b;
again:
//get variable from the user for Operation
cout<<" Enter the Operation which you want : ";
char choice;
cin>>choice;
//Addition
a=c+b;
//Subtraction
s=c-b;
//Multiplication
m=c*b;
//Division
d=c/b;
//Modulus
g=fmod(c, b);
//set switch statement
//here is the solution
switch(choice)
{
case '+':
cout<<"Addition: "<<a<<endl;
goto again;
break;
case '-':
cout<<"Subtraction: "<<s<<endl;
goto again;
break;
case '*':
cout<<"Multiplication: "<<m<<endl;
goto again;
break;
case '/':
cout<<"Division: "<<d<<endl;
goto again;
break;
case '%':
cout<<"Modulus: "<<g<<endl;
goto again;
break;
default:
cout<<"Exit";
break;
}
return 0;
}Explanation:
Here, we define the required header files then, we set main function.
- set float type variables a,s,m,d,c,b,g.
- Get input from the user for operation in the variable c,d.
- Set character type variables in which we get input from the user for operations.
- Then, we perform some operations.
- Set switch statement which display the output according to the user an if user input wrong then statement breaks.
I need the choices to tell you what the answer is.
Answer:
The array index by using split function.
45 20 50 30 80 10 60 70 40 90
45 20 40 30 80 10 60 70 50 90
45 20 40 30 10 80 60 70 50 90
10 20 40 30 45 80 60 70 50 90
Explanation:
In the following statement, there is an integer array type variable x and its index value is 10 that means it contains only 10 numeric values and then, they set split function which split the array and the split function is the built-in function which is used to separate the string or an array. So, the array is split into the following parts.
Answer:your race, gender, marital status, education level, religion, political party or income, those details can't be factored into your credit scores.
Explanation:
Payment Card Industry (PCI) is a standard spells out measures and security procedures to safeguard the card issuer.
<h3>Why is payment card industry PCI so vital?</h3>
The main aim of the PCI is to lower the risk associated with the use of debit and credit card data loss.
Note that it gives some suggestions or opinions as to how issues like this could be stopped, detected, and how one can react if there is data breaches. It is said to give some form of protection for both merchants and cardholders.
Learn more about Payment Card Industry (PCI) from
brainly.com/question/26220899