-
Get activity name (like
Bicycle
orRunning
orWalking
, ...) -
Calories of each activity
-
Duration (in second)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class PhanSo { | |
public: | |
int tu, mau; | |
PhanSo() { | |
tu = 0; | |
mau = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scl = 20; | |
var n = 40; | |
var ball = []; | |
var g = 30; //gravity | |
var gy = g; | |
var gx = 0; | |
var per = 0.9; | |
var tile = 0.0001; | |
var frameCount = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream.h> | |
#include <conio.h> | |
using namespace std; | |
int main() { | |
cout<<"Hello World"; | |
getch(); | |
} |