Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~464 People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for Bart_sg

[code]#include <iostream> #include <iomanip> #include <string> #include <ios> using std::string; using std::streamsize; using std::setprecision; using namespace std; int main() { double Ib,I,V,P,F,pf,In; unsigned short int type; cout<<"Please select the type of power supply\n";//Allows the user to choose between single or three phase cin>>type; switch(type) { case 1:cout<<"You have chosen a …

Member Avatar for Mikstaslaya
0
162
Member Avatar for Bart_sg

Hi, does anyone know or has any idea how to import values from a table and assign it to a variable? For example: Ambient Temperatures| 30 40 50 Corresponding factors |0.9 0.7 0.6 (note the table is in excel format and much larger) [CODE]double At,Ca; cout<<"Enter Value for Ambient temperature"; …

Member Avatar for dmytro
0
94
Member Avatar for Bart_sg

[CODE]#include <iostream> #include <iomanip> #include <string> using namespace std; int main() { double V,I,pf,Ib; unsigned short int choice; int In; cout<<"Please choose power supply type\n"; cin>>choice; switch(choice) { case 1:cout<<"You have chosen a single phase power supply\n"; break; case 2:cout<<"You have chosen a three phase power supply\n"; break; default:cout<<"Invalid Choice …

Member Avatar for WaltP
0
68
Member Avatar for Bart_sg

[CODE]#include <iostream> #include <iomanip> #include <string> using namespace std; int main() { double V,I,pf,Ib; unsigned short int choice; int In = 0; cout<<"Please choose power supply type\n"; cin>>choice; switch(choice) { case 1:cout<<"You have chosen a single phase power supply\n"; break; case 2:cout<<"You have chosen a three phase power supply\n"; break; …

Member Avatar for tkud
0
140