Answer:
new BufferedWriter(new FileWriter("out.dat", true));
Explanation:
We can use the BufferedWriter and FileWriter classes to create a File object which will append data to an existing file. For this purpose we can use the following statement:
BufferedWriter salesdata = new BufferedWriter(new FileWriter("out.dat", true));
This opens the file "out.dat" for writing in append mode and uses this FileWriter to create an instance of BufferedObject instance.
1. Data is easy to backup as all data is stored on the file server.
2.Network users can communicate by email and instant messenger.
Answer:
Explanation:
develloppemetn de grace en option est logiquement une biologiste experimenter des annes 1256 a toulouse en france
Answer: The following code is in c++
#include <iostream>
#include<math.h>
using namespace std;
int main()
{
float a,b,c;
cout<<"Enter height and base of triangle\n";
cin>>a>>b; //reading two sides from user
c=sqrt(pow(a,2)+pow(b,2)); //calculating hypotenuse
cout<<"Length of hypotenuse is "<<c; //printing third side of triangle
return 0;
}
OUTPUT :
Enter height and base of triangle
3
4
Length of hypotenuse is 5
Explanation:
In the above code, three variables a, b and c of int type are declared. After that, it is asked from user to enter the value of a and b. The user puts the value and then c is calculated with the help of Pythagoras theorem formulae which squares the values of two sides and then adds them to calculate hypotenuse of a right angled triangle and finally c is printed to console.