From 1483ea6837fb9edf010ea1e774eb0c8be2c89a74 Mon Sep 17 00:00:00 2001 From: BrijeshVP <57172793+brijeshvp@users.noreply.github.com> Date: Sat, 31 Oct 2020 09:43:14 -0400 Subject: [PATCH] Create C prog_finding quotient and remainder --- C prog_finding quotient and remainder | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 C prog_finding quotient and remainder diff --git a/C prog_finding quotient and remainder b/C prog_finding quotient and remainder new file mode 100644 index 0000000..18eb44d --- /dev/null +++ b/C prog_finding quotient and remainder @@ -0,0 +1,16 @@ +# Python program to print odd Numbers in a List + +# list of numbers +list1 = [10, 21, 4, 45, 66, 93] +i = 0 + +# using while loop +while(i < len(list1)): + + # checking condition + if list1[i] % 2 != 0: + print(list1[i], end = " ") + + # increment i + i += 1 +