Skip to content

Instantly share code, notes, and snippets.

#include<iostream>
#include <math.h>
#include <vector>
using namespace std;
int StartUp(){
int bookCode;
cout << "Please enter the book code: ";
@arafin1
arafin1 / artillery.cpp
Last active July 8, 2020 17:17
Google C++ Exercise
#include<iostream>
#include <math.h>
#include <time.h>
using namespace std;
void StartUp(){
cout << "Welcome to Artillery."<<endl;
cout <<"You are in the middle of a war and being charged by thousands of enemies."<<endl;
cout <<"You have one cannon, which you can shoot at any angle."<<endl;
var exchanges = [
{
name: "NYSE",
stocks: [
{
symbol: "XFX",
closes: [
{ date: new Date(2014,11,24), price: 240.10 },
{ date: new Date(2014,11,23), price: 232.08 },
{ date: new Date(2014,11,22), price: 241.09 }
module PrettyJSON (renderJValue, enclose) where
import SimpleJson(JValue(..))
import Prettify (Doc, (<>), char, double, fsep,
hcat, punctuate, text, compact, pretty)
import Numeric (showHex)
import Data.Bits (shiftR,(.&.))
import Data.Char (ord)
module Prettify (
Doc (..),
(Prettify.<>),
empty,
char,
double,
line,
fold,
fsep,
hcat,