Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stream7
//g++ 7.4.0 ////////////////////////////////////////////////////////////////////////// //Stream7 //this code is created by Rezaul Hoque on July 25,2022; //contact:jewelmrh@yahoo.com;Dhaka,Bangladesh;https://rezaulhoque.wordpress.com,https://hoquestake.blogspot.com //note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; ////////////////////////////////////////////////////////////////////////////// #include <fstream> #include <iostream> #include <iomanip> #include <string> #include <strstream> //stream manipulator std::ostream& l(std::ostream& os) { return (os<<"\n"); } void fill(char c) { std::cout.width(40); std::cout.fill(c); std::cout<<l; } int main() { fill('*'); std::cout.setf(std::ios::left); std::cout.fill(' '); std::cout.width(25); std::cout<<"\tMenu"<<"Price"<<l; std::cout.setf(std::ios::left); std::cout.fill('.'); std::cout.width(25); std::cout<<"\tRice(1½ plates)"<<"Tk 15"<<l; std::cout.setf(std::ios::left); std::cout.fill('.'); std::cout.width(25); std::cout<<"\tLentil Soup(1 cup)"<<"Tk 10"<<l; std::cout.setf(std::ios::left); std::cout.fill('.'); std::cout.width(25); std::cout<<"\tMalabar Spinach(1 plate)"<<"Tk 10"<<l; std::cout.setf(std::ios::left); std::cout.fill('.'); std::cout.width(25); std::cout<<"\tRita fish(1 plate)"<<"Tk 40"<<l<<l; std::cout.setf(std::ios::right); std::cout.fill(' '); std::cout.width(25); std::cout<<"\tTotal "<<"Tk 75"<<l; fill ('*'); return 0; }
run
|
edit
|
history
|
help
0
带头结点的单链表
LRU - template
Buenos Amigos
D. Traveling Graph
ThreadPool
palindrome
Projekt misker
Stack
Laborator 2 SD
doubly