online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
print("In 2021 the GDP of America is $22.99T") year = 2021 country = 'America' value = 22.99 print('In ' + str(year) + ' the GDP of ' + country + ' is $' + str(value) + 'T') print('In %d the GDP of %s is $%.2fT' % (year, country, value)) print('In {} the GDP of {} is ${}T'.format(year, country, value)) print('In {0} the GDP of {1} is ${2}T'.format(year, country, value)) print('In {year} the GDP of {country} is ${value}T'.format( year=year, country=country, value=value )) data = {'year':year, 'country':country, 'value':value} print('In {year} the GDP of {country} is ${value}T'.format(**data)) print(f'In {year} the GDP of {country} is ${value}T')

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue