Răspuns :
#include<iostream>
using namespace std;
int main()
{
int n;
cout<<"Dati numarul n= ";
cin>>n;
cout<<7*((int)n/7);
return 0;
}
using namespace std;
int main()
{
int n;
cout<<"Dati numarul n= ";
cin>>n;
cout<<7*((int)n/7);
return 0;
}
#include <iostream>
using namespace std;
int main(){
int n;
cout<<"n=";cin>>n;
cout<<"Cel mai mare multiplu="<<((int)(n/7))*7;
return 0;
}
using namespace std;
int main(){
int n;
cout<<"n=";cin>>n;
cout<<"Cel mai mare multiplu="<<((int)(n/7))*7;
return 0;
}