Main.cc: In function 'int main()': Main.cc:13:5: error: expected ';' before '}' token } ^ Main.cc:14:19: warning: conversion lacks type at end of format [-Wformat=] printf("%.6",s); ^ Main.cc:14:19: warning: too many arguments for format [-Wformat-extra-args] Main.cc:16:19: warning: conversion lacks type at end of format [-Wformat=] printf("%.6",n); ^ Main.cc:16:19: warning: too many arguments for format [-Wformat-extra-args]