代码搜索:divisible
找到约 90 项符合「divisible」的源代码
代码结果 90
www.eeworm.com/read/235063/14086549
cpp nestedif.cpp
// Listing 4.4 - A complex, nested if tatement
#include
int main()
{
// Ask for two numbers
// Assign the numbers to bigNumber and littleNumber
// If bigN
www.eeworm.com/read/179954/9329268
cpp find2.cpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/359581/10135340
c divisors.c
// divisors.c -- nested ifs display divisors of a number
#include
#include
int main(void)
{
unsigned long num; // number to be checked
unsigned long div;
www.eeworm.com/read/356874/10219894
c divisors.c
// divisors.c -- nested ifs display divisors of a number
#include
#include
int main(void)
{
unsigned long num; // number to be checked
unsigned long div;
www.eeworm.com/read/160819/10496105
cpp isleap.cpp
#include
using namespace std;
// illustrates user-defined function for determining leap years
bool IsLeapYear(int year)
// precondition: year > 0
// postcondition: returns true if year is
www.eeworm.com/read/421785/10698960
c divisors.c
// divisors.c -- nested ifs display divisors of a number
#include
#include
int main(void)
{
unsigned long num; // number to be checked
unsigned long div;
www.eeworm.com/read/270960/11018258
cpp find2.cpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josuttis 19
www.eeworm.com/read/467628/7006142
l 5.l
%{
#include
%}
%%
[1-9][0-9][0-9]([0]|[5]) {printf("divisible by 5");}
. {}
%%
int yywrap(void)
{
return 1;
}
int main(void)
{
yylex();
return 0;
}
www.eeworm.com/read/467628/7006158
l 5.l
%{
#include
%}
%%
[1-9][0-9][0-9]([0]|[5]) {printf("divisible by 5");}
. {}
%%
int yywrap(void)
{
return 1;
}
int main(void)
{
yylex();
return 0;
}
www.eeworm.com/read/466324/7033152
java exercise2_11.java
import javax.swing.JOptionPane;
public class Exercise2_11 {
public static void main(String[] args) {
// Enter an integer
String intString = JOptionPane.showInputDialog(
"E