OOCP4-7

//BCA Support //www.bcasupport.xyz #include <iostream.h> #include <conio.h> #include <iomanip.h> ostream &prefix(ostream &out) { out<<"\nBCA "; return out; } int main() { clrscr(); cout<<setw(10)<<30<<endl; cout<<setprecision(2)<<1.2345<<endl; cout<<setfill('!')<<setw(10)<<10<<endl; cout<<setiosflags(ios::showpos)<<30<<endl; cout<<setiosflags(ios::showpoint)<<setprecision(5)<<1.23456<<endl; cout<<resetiosflags(ios::showpos)<<30<<endl; cout<<prefix<<"Support"; getch(); return 0; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.