Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Forum » x-Forum » Question

save file-CppBuzz-Forum

for $b1( 1..12){ for $b2( $b1+1..12){ for $b3($b2+1..12){ for $b4( $b3+1..12){ for $b5($b4+1..12){ for $b6( $b5+1..12){
    foreach $b7( $b7++ ){

print "$b1 $b2 $b3 $b4 $b5 $b6 $b7\n";

this code print all possibole resolts, but i need the resolts in a new text file please. 

Posted by eliran 2020-07-04 13:15:52

No Ans Posted

Please login to comment

Log In

Ask New Question