The answer in the space provided is the Diffie-Hellman Key
Exchange. This is entitled to be the first published key algorithm in which has
a limit in which the exchange occurs in secret values and that its purpose was
to enable two users to have an exchange of key in a secure manner in means of
using it for a subsequent symmetric encryption in terms of messages.
Answer:
/*
* Program to write data to text file.
*/
#include<iostream>
#include<fstream>
#include<string.h>
using namespace std;
int main()
{
//Variable to name and age of a person.
string name;
int age;
cout<<"Enter your name"<<endl;
cin>>name;
cout<<"Enter your age"<<endl;
cin>>age;
//Creating object of ofstream.
ofstream file;
file.open ("outdata.txt");
//Writing data to file named outdata.txt
file<<name<<" "<<age;
file.close();
}
Output:
Enter your name
John
Enter your age
25
Content of Output.txt:
John 25
Explanation:
To write data to a file ofstream object is used. An ofstream object file is created first and then using this object a file named "outdata.txt" is created.
Finally using shift operator (<<), by means of operator overloading, name and age of person is transferred to file outdata.txt.
The code for the above problem is:
<span>/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone{ public static void main (String[] args) throws java.lang.Exception
{
for(int i=11; i<=121; i=i+2){
System.out.print(i); System.out.print(" ");
}
}<span>}
I hope this is the answer that you were looking for. </span></span>
Answer:
c it reduces errors
Explanation:
Instead of Mrs.Patel doing it she has an online program made for checks to do it for her.