Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  DQCalculator
Language: C/C++
Code:
#include<stdio.h>
main () 
{
  
int baseStat, maxUpgrade, total;
  
printf ("\tBase Stat   >> ");
  
scanf ("%d", &baseStat);
  
printf ("\tMax Upgrade >> ");
  
scanf ("%d", &maxUpgrade);
  
maxUpgrade *= 10;
  
total = baseStat + maxUpgrade;
  
printf ("\n\tStat Potential >> %d", total 
);

}
Comments: