so I guess Im going to take some classes in code again.
c#, java, python. and maybe php for starters and more later

Moderators: b1o, jkerr82508


gnuuser wrote:heres a quick one in c++ it calculates the size of a hdd by the parameter you type in and displays the size in megabytes.
integers (a,b,c ) and it works![]()
![]()
#include <iostream>
using namespace std;
int main()
{
int a = 35202;
int b = 16;
int c = 63;
int d = 512;
int e = 1024;
int f = 1024;
int sum = a * b * c * d / e / f;
// this is just a down and dirty hdd size calculator.
cout << sum;
return 0;
}