Answer:
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main(){
string name;
double weightKg, weightPd;
cout<< fixed << setprecision(2);
fstream myFile("filename.txt");
while (getline( myFlie, name, weightPd)){
weightKg = weight * 0.453592;
cout<< name << weightPd <<weightKg;
}
myFile.close();
}
Explanation:
The C++ source code reads in the content of a file that has a name and weight value in pounds and outputs the name, weight in pounds and the weight in kilograms.
Answer:
or tell ur teacher to add u in ur class
Explanation:
Answer:
Recursive solutions can be less efficient than their iterative counterparts
Explanation:
Recursion can be defined or described as a method of solving a problem where the solution depends on solutions to smaller instances of the same problem.
It entails using iteration to ensure that smaller parts of a solution are satisfied towards solving thw overall problem.
Ita major disadvantage seems to be that it seem to be less efficient than their iterative counterparts. This is as a result of concentrating on trying to solve a smaller instances.
Answer:
Option a: Trojan
Explanation:
A Trojan or Trojan horse is one of the computer malware that exist in computing world. Trojan often appears as a legitimate software to deceive user to activate it by social engineering. Once the Trojan is activated in the user computer, a hacker can remote control the infected computer for malicious purposes such as removing files, sending files, displaying message or rebooting computer.
However, Trojan cannot be replicated in the infected computer.