Hello! I need someone’s help on debugging my code. I’m not sure about what’s wrong, since the output is right but it’s still telling me my answer is wrong. I have the same problem with my other submissions too. I need to know if I am missing something.

Here is my code,I code in C++,hope you will understand this !!!

#include <iostream>
using namespace std;

int main() {
int amt;
float bal;
float output=(bal-amt-0.5);
if (output>=0 && amt%5==0 && amt>0 && bal >=0){

	return 0;

There is a request that you please start coding in C++ ,you can learn it from youtube as most of the coders around the world use C++ and you will get faster response and have the advantages of STLs …