https://bugs.kde.org/show_bug.cgi?id=484821

            Bug ID: 484821
           Summary: Crashed
    Classification: Miscellaneous
           Product: dummy
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: n...@kde.org
          Reporter: arsen_melkon...@dcs.am
  Target Milestone: ---

SUMMARY
Input "3". Crashes every single time
STEPS TO REPRODUCE
reset
sh
$x = ask "tiv"
for $y = $x - 1 to 0 step -1{
$check = 0
for $z = $y-1 to 2 step -1{
$i = mod $y,$z
if $i == 0{
$check = 1}}
if $check == 0{
print $y
break}

OBSERVED RESULT
Crash.

EXPECTED RESULT
Print: 2

SOFTWARE/OS VERSIONS
Windows: 10
macOS: no
Linux/KDE Plasma: nah
(available in About System)
KDE Plasma Version: idk?
KDE Frameworks Version: same
Qt Version: What's qt?

ADDITIONAL INFORMATION
Tried to make an application that will output the closest smallest odd number
to the input number. Ended in a disaster

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to