package com.javapatterns.visitor.inventory;
public class Case extends Equipment
{
public double price()
{
return 30.00;
}
public void accept(Visitor v)
{
/*
COW : Character Oriented Windows
case.c: conversion of foreign lower case to upper case
*/
#define COW
#include
#include "case.h"
/*
-- SzLcUc: maps lower -> upper case
/*
COW : Character Oriented Windows
case.c: conversion of foreign lower case to upper case
*/
#define COW
#include
#include "case.h"
/*
-- SzLcUc: maps lower -> upper case
--
-- case.sql
--
-- Test the case statement
--
CREATE TABLE CASE_TBL (
i integer,
f double precision
);
CREATE TABLE CASE2_TBL (
i integer,
j integer
);
INSERT INTO CASE_TBL VALUES (1, 10.
package com.javapatterns.visitor.inventory;
public class Case extends Equipment
{
public double price()
{
return 30.00;
}
public void accept(Visitor v)
{
Sy
#!/bin/bash
# case-cmd.sh: Using command substitution to generate a "case" variable.
case $( arch ) in # "arch" returns machine architecture.
# Equivalent to 'uname -m' ...
i3
SELECT CustomerId,
CASE
WHEN ClearedBalance < 0 THEN 'OverDrawn'
WHEN ClearedBalance > 0 THEN ' In Credit'
ELSE 'Flat'
END, ClearedBalance
FROM CustomerDetails.Customers