Answer:
sed '/march/{d;}' birthdays.txt > result
.txt
Explanation:
sed syntax is basically:
<em>sed '/expression/{command;command;...;}' inputfile > outputfile</em>
- First, for the expression part, we use /march/ to match all lines containing that string.
- Then for the command part, we only use {d} command to delete every matching line found.
- The third part contains the input file to process, I have named it birthdays.txt, but it could have been any other file needed.
- Finally "> result
.txt" makes the script output to be saved into a file named result.txt
<span>- They're offered by the employers to the employees.
- They bring various tax benefit to you.
- They restrict you about when you can withdraw your money.</span>
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
double num;
// read discriminant
cin>>num;
// calculate square of the input
double result=num*num;
// print the square number
cout<<result<<endl;
return 0;
}
Explanation:
Declare a variable "num".Read the value of "num" from keybord.Then calculate square of the input number.Print the square of input number.
Output:
5
25
Answer:
the answer is going to be c